.input-component {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 220px;
    box-sizing: border-box;

    // 默认样式
    &.default {
        background-color: #fff;
        color: #333;
    }
}

.input-component:focus {
    outline: none;
    border-color: #007bff;
}